package com.community.contorller;

import com.community.dto.HouseDTO;
import com.community.dto.OwnerDTO;
import com.community.po.HousePO;
import com.community.po.OwnerPO;
import com.community.service.HouseService;
import com.community.service.OwnerService;
import com.lening.common.base.BaseController;
import com.lening.common.web.Request;
import com.lening.common.web.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ToDo:
 * @Author：高尚磊
 * @date: 2024/6/22 9:05
 */
@Slf4j
@RestController
@RequestMapping("house")
public class HouseController extends BaseController<HousePO, HouseDTO, HouseService> {
    @GetMapping("getHouse")
    public String getHouse() {
        return Request.asyncGet("community-management/house/page", String.class);
    }
}
